package test;

import java.io.File;

public class ProvaEliminaFile {
	public static void elimina (String percorsoBase, String nomeFile) throws Exception {
		String nomeFileGraph = percorsoBase.concat(nomeFile);
		File file = new File(nomeFileGraph);
		if (file.exists()) {
			file.delete();
		}
	}
	
	public static void main (String args []) throws Exception {
		String percorsoBase = "C:\\MircFile\\";
		String nomeFile = "canzone.Port_57245.mp3";
		elimina(percorsoBase, nomeFile);
	}
}
